<?php
require_once ("../src/db/connectdatabase.php");

function getIntro() {
	$con = new ConnectDB();
	$tbl = "gioithieu";
	$fn = array('content');
	$condetion = array('id' => 'luuycard');
	return $con -> getvalue($tbl, $fn, $condetion);
}

$intro = getIntro();

if(count($intro) == 1) {
?>
<h3>Thông Tin Lưu Ý Khi Làm Thẻ Tín Dụng</h3>
<div>
	<?php echo($intro[0][0]) ?>
</div>
<br>
<div>
<input type="button" value="Chỉnh Sửa" onClick="window.location='admin.php?content=quanlythetindung&&as=edit-luu-y-lam-the'" style="border-radius: 5px; padding:5px; width:100px; background:#03F; color:#FFF; font-weight:bold;" />
</div>

<?php } ?>